<%@ page language="java" import="pos.dominio.*,java.util.*, pos.dato.*" %>
<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>PlantaTuSemilla.com</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/General.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/Formulario.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/Index.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/NoticEnlac.css" />

</head>
<body>

<div id="top">
<jsp:include  page="cabecera.html"/>
</div>
<div id="div_principal2">
<tr valign ="middle" align="center">
				<p><td  colspan="6"><b>Eventos</b></td></p>
				</tr>
				
<%	
	session.setAttribute("usuarioID",session.getAttribute("usuarioID"));
	System.out.println("votacion"+session.getAttribute("eventoID"));
	Evento e = EventoManager.getInstance().getEvento((String)session.getAttribute("eventoID")); 
%>			
			<tr  align="center" id="eventos4">
			<td></td>
				<%for (Evento a:EventoManager.getInstance().getEventos()){%>
					<strong><%=a.getNoticia()%></strong>
                     <form action="FrontController?res=ConfirmarVoto.jsp?idC=<%=a.getVoto()%>" method="post">
				        <input type="submit" value="ok"/>
                     </form></tr>
                    
                      <%
     		    }
				
				%> 
				

</div>
<div id="div_noticias">
		<jsp:include page="noticias.jsp" />
		</div>
		<div id="div_enlaces">
		<jsp:include page="enlaces.html" />
		</div>
		<div id="div_usuarios">
		<jsp:include page="usuarios.jsp" />
		</div>
		<jsp:include page="piePagina.html" /> 
		</body>
</html>